package com.ruoyi.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.pojo.result.Pages;
import com.ruoyi.system.api.model.user.AppDressInfo;
import com.ruoyi.user.model.pojo.entity.Dress;
import com.ruoyi.user.model.pojo.request.app.AppDressSearchRequest;
import com.ruoyi.user.model.pojo.request.app.dress.AppDressUseRequest;
import com.ruoyi.user.model.pojo.request.crm.CrmDressAddOrEditRequest;
import com.ruoyi.user.model.pojo.request.crm.CrmDressSearchRequest;
import com.ruoyi.user.model.pojo.result.app.AppDressInfoResult;

import java.util.List;

/**
 * <p>
 * 装扮中心 服务类
 * </p>
 *
 * @author Gnc
 * @since 2025-01-16
 */
public interface IDressService extends IService<Dress> {

    /**
     * 装扮列表
     */
    Pages<AppDressInfoResult> listPage(AppDressSearchRequest request, Long userId);

    /**
     * 使用装扮
     */
    boolean use(AppDressUseRequest request, Long userId);

    /**
     * 获取用户所得的头像框
l     */
    List<AppDressInfo> userUseDressList(Long userId);

    boolean addOrEdit(CrmDressAddOrEditRequest request);


    /**
     * 后台搜索装扮参数
     */
    List<Dress> crmListPage(CrmDressSearchRequest request);

}
